import { Entity, PrimaryGeneratedColumn, Column, PrimaryColumn, BaseEntity, Repository, InsertResult } from "typeorm"
import { GameConfig } from "../../src/config/GameConfig"
import DateUtil from "../../src/engine/utils/DateUtil"
import { DBSourceManager } from "../../src/engine/utils/DBSourceManager"
import { ClubConfig } from "../config/ClubConfig"


@Entity("t_room_template")
export class RoomTemplateEntity {

    @PrimaryGeneratedColumn()
    id:number
    @Column()
    name: string = ""
    @Column()
    game_type: number = GameConfig.Game_Type.Mj
    @Column()
    conf_base: string = ""
    @Column()
    clubid: number = 0
    @Column("bigint")
    creator: number = 0
    @Column()
    roomType: number = 0
    @Column()
    config_game: string = ""





}